//
//  UIImage+IJBundle.h
//  IJLoginSDK
//
//  Created by yafei liu on 2021/4/12.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIImage (IJBundle)

/// 从IJLoginSDKBundle中获取图片
/// @param name 图片name
+ (nullable UIImage *)ij_imageNamedInLoginBundle:(NSString *)name;

/// 从Bundle中获取图片
/// @param name 图片name
/// @param bundle bundle
+ (nullable UIImage *)ij_imageNamed:(NSString *)name inBundle:(nullable NSBundle *)bundle;

@end

NS_ASSUME_NONNULL_END
